package com.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class GroupJoin {

    private Long id;

    private Long activityId;

    private Long userId;

    private Date joinedAt;

    private Boolean isInitiator;

    public GroupJoin(Long id, Long activityId, Long userId, Date joinedAt, Boolean isInitiator) {
        this.id = id;
        this.activityId = activityId;
        this.userId = userId;
        this.joinedAt = joinedAt;
        this.isInitiator = isInitiator;
    }

    public GroupJoin() {

    }
}
